package cn.iocoder.yudao.module.system.controller.admin.workhanging.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 下挂记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WorkHangingRespVO {

    @Schema(description = "下挂记录", requiredMode = Schema.RequiredMode.REQUIRED, example = "12631")
    @ExcelProperty("下挂记录")
    private Integer id;

    @Schema(description = "工单表id", example = "854")
    @ExcelProperty("工单表id")
    private Integer workId;

    @Schema(description = "分组")
    @ExcelProperty("分组")
    private String subgroup;

    @Schema(description = "单箱数量")
    @ExcelProperty("单箱数量")
    private BigDecimal perBoxNum;

    @Schema(description = "不良品数量")
    @ExcelProperty("不良品数量")
    private BigDecimal rejectsNum;

    @Schema(description = "入库箱数")
    @ExcelProperty("入库箱数")
    private Integer boxNum;

    @Schema(description = "下挂时间")
    @ExcelProperty("下挂时间")
    private String hangTime;

    @Schema(description = "入库总数量")
    @ExcelProperty("入库总数量")
    private BigDecimal totalQuantity;

    @Schema(description = "不良品现象")
    @ExcelProperty("不良品现象")
    private String badPhenomenon;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
